package com.blog;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;
@SpringBootApplication(scanBasePackages = "com.blog.controller")
@EnableSwagger2//开启Swagger2
public class BlogSystemApplication {

  public static void main(String[] args) {
    SpringApplication.run(BlogSystemApplication.class, args);
  }

}
